<!--
 * @Author: your name
 * @Date: 2021-09-10 12:12:35
 * @LastEditTime: 2021-09-10 12:16:26
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\6-jQuery\day01\10-静态方法.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/jquery.js"></script>
</head>

<body>
    <div id="app">
        这是一个div
        <p>123</p>
    </div>
    <div>
        <div>1</div>
        <div>2</div>
        <p>p1</p>
    </div>
</body>
<script>
    //遍历div的内容
    $("div").each(function() {
        console.log($(this));
    });
</script>

</html>